package com.amoyt.project.domain.dto.insert;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Date: 2025/8/24
 * @Time: 11:01
 * @Author: TQ_QT
 * @Description: 资金申请
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "资金申请")
public class FundApprovalAddDto {

    @Schema(description = "关联项目申请主表id")
    private String projectId;

    @Schema(description = "资金用途（如“建设文化活动中心”）")
    private String fundUsage;

    @Schema(description = "申请资金金额（分）")
    private Long applyAmount;

    @Schema(description = "所属项目级别")
    private String projectLevel;

    @Schema(description = "申请发起时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date applyTime;

    @Schema(description = "当前审批级别")
    private String currentApprovalLevel;

    @Schema(description = "整体状态（pending-待审批/passed-通过/rejected-驳回）")
    private String status;
}
